import { request } from '../util/index.js';
export default {
    get: ({ curPage, eachPage }) =>
        request({
            url: '/students',
            type: "GET",
            data: { curPage, eachPage },
        }),
    add: (student) =>
        request({
            url: '/students',
            type: "POST",
            data: student,
        }),
}